package com.xy.service.impl;

import com.xy.dto.DocxContentDTO;
import com.xy.service.IDeepSeekService;
import com.xy.service.IDocService;
import com.xy.thirdpart.deepseek.DeepSeekProcessor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeepSeekServiceImpl implements IDeepSeekService {

    private final DeepSeekProcessor deepSeekProcessor;
    private final IDocService docService;
    private final String prefixQuestion = "你是一个专业的问答助手，请根据上下文回答以下问题，每个问题以问号（？）结尾，结果以josn形式返回,如果没有答案就回复0，其中json的键为该问题问号前括号内的英文单词。";
    @Autowired
    public DeepSeekServiceImpl(DeepSeekProcessor deepSeekProcessor, IDocService docService) {
        this.deepSeekProcessor = deepSeekProcessor;
        this.docService = docService;
    }

    @Override
    public DocxContentDTO getQAByInputContext(String inputContext,Integer typeId) {
        //获取问题模板，并组装问题

        return null;
    }
}
